package com.ruoyi.production.domain.blade;

import io.netty.util.internal.UnstableApi;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 刀片购买申请对象 blade_purchase_apply
 *
 * @author ruoyi
 * @date 2021-07-11
 */

public class BladePurchaseApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号自动编号，主码 */
    private Long bladePurchaseApplyId;

    /** 类型外码 */
    @Excel(name = "类型外码")
    private Long bladeTypeId;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 申请量 */
    @Excel(name = "申请量")
    private Long applyAmount;

    /** 单位 */
    @Excel(name = "单位")
    private String applyUnit;

    /** 审批状态0表示申请，1表示审批通过，2表示不通过 */
    @Excel(name = "审批状态0表示申请，1表示审批通过，2表示不通过")
    private Long approvalStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    public void setBladePurchaseApplyId(Long bladePurchaseApplyId)
    {
        this.bladePurchaseApplyId = bladePurchaseApplyId;
    }

    public Long getBladePurchaseApplyId()
    {
        return bladePurchaseApplyId;
    }
    public void setBladeTypeId(Long bladeTypeId)
    {
        this.bladeTypeId = bladeTypeId;
    }

    public Long getBladeTypeId()
    {
        return bladeTypeId;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setApplyAmount(Long applyAmount)
    {
        this.applyAmount = applyAmount;
    }

    public Long getApplyAmount()
    {
        return applyAmount;
    }
    public void setApplyUnit(String applyUnit)
    {
        this.applyUnit = applyUnit;
    }

    public String getApplyUnit()
    {
        return applyUnit;
    }
    public void setApprovalStatus(Long approvalStatus)
    {
        this.approvalStatus = approvalStatus;
    }

    public Long getApprovalStatus()
    {
        return approvalStatus;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bladePurchaseApplyId", getBladePurchaseApplyId())
            .append("bladeTypeId", getBladeTypeId())
            .append("brand", getBrand())
            .append("originCompany", getOriginCompany())
            .append("applyAmount", getApplyAmount())
            .append("applyUnit", getApplyUnit())
            .append("approvalStatus", getApprovalStatus())
            .append("note", getNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
